package com.youhome.service.mapper;

import com.youhome.service.model.BShareGroupHouse;
import com.youhome.service.model.ListHub;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BShareGroupHouseMapper {
    int deleteByPrimaryKey(Long id);

    int deleteByShareId(String shareId);

    int insert(BShareGroupHouse record);

    int insertSelective(BShareGroupHouse record);

    BShareGroupHouse selectByPrimaryKey(String shareId);

    int updateByPrimaryKeySelective(BShareGroupHouse record);

    int updateByPrimaryKey(BShareGroupHouse record);

    List<Long> selectByShareId(String shareId);

    int deleteByShareIdAndHouseId(BShareGroupHouse record);

    int selectExistByShareIdAndHouseId(BShareGroupHouse record);

    List<ListHub>selectHouseByShareId(String shareId);

    List<BShareGroupHouse> selectByBean(BShareGroupHouse record);
}